﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
   public  class clsKetNoi
    {
        public string chuoiketnoi = @"Data Source=.\MINHKHA01 ; Initial Catalog = DoAn2 ; User ID = sa; Password = '123456'";
        dataDataContext dt;
        public dataDataContext GetKetnoi()
        {
            dt = new dataDataContext(chuoiketnoi);
            dt.Connection.Open();
            return dt;
        }
    }
}
